<!--
 * @Author: 张升 1562821455@qq.com
 * @Date: 2023-10-18 17:56:19
 * @LastEditors: 张升 1562821455@qq.com
 * @LastEditTime: 2023-10-18 18:13:14
 * @FilePath: \vue2-demo\src\common\components\myInput\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <input :value="value" @input="$emit('input', $event.target.value)">
</template>
<script>
    export default {
        name: 'MyInput',
        props: {
            value: {
                type: String,
                default: ''
            },
        }
    }
</script>